package com.info.zhiduoduo.repository.dto.project;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.info.zhiduoduo.common.utils.DateUtil;

import java.math.BigDecimal;
import java.util.Date;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
public class CompanyProjectDto {

    private int projectid;
    private int categoryid;
    @ApiModelProperty("项目类型 1: 项目 4:长期项目子项目")
    private int type;
    private String categoryname;
    private String projectname;
    private int userid;
    private String username;
    private String studionickname;
    private String avatar;
    private int projecttype;
    private int invoicetype;
    private BigDecimal projectamount;
    private BigDecimal projectdealamount;
    @ApiModelProperty("项目提交时间")
    private Date projectsubmit;
    private Date projectstart;
    private Date projectfinish;
	@ApiModelProperty("支付方式id(表zdd_payment)")
	private Integer payId;
    /** 线下支付状态: 1:未支付 2:已支付 3:已处理 */
    private int offlinePayState;
    @ApiModelProperty("1草稿 2待发布 4已发布 6竞标中 7竞标失败 8竞标结束 10进行中 12验收中 13 验收完成 14 拒绝验收 15待线下支付 20已完成 44删除")
    private Integer state;
    @ApiModelProperty("招标类型 1：邀约 2：公开")
    private int bidType;
    @JsonFormat(pattern = DateUtil.FORMAT_STYLE_2, timezone = DateUtil.TIME_ZONE_CHINA)
    @ApiModelProperty("公开招标结束日期，字符串yyyy-MM-dd")
    private Date bidEnd;
    @JsonFormat(pattern = DateUtil.FORMAT_STYLE_2, timezone = DateUtil.TIME_ZONE_CHINA)
    @ApiModelProperty("公开招标项目完成截止日期，字符串yyyy-MM-dd")
    private Date bidProjectFinish;
    @ApiModelProperty("公开招标审核结果备注")
    private String bidVerifyRemark;
    @ApiModelProperty("竞标开始时间")
    private Date biddingstart;
    @ApiModelProperty("竞标结束时间")
    private Date biddingend;
    @ApiModelProperty("已投标人数")
    private int bidCount;
    @ApiModelProperty("项目交付文件路径")
    private String deliveryPath;
    @ApiModelProperty("验收图片证据url")
    private String attachmentUrl;
    @ApiModelProperty("备注")
    private String remarksField;
    @ApiModelProperty("是否通知乙方上传交付物 0：否 1：是")
    private Integer notifyUploadDelivery;
    @ApiModelProperty("创建时间")
    private Date createtime;

    @ApiModelProperty("记录项目过程中的报错信息")
    private int errorCode;
    @ApiModelProperty("记录项目过程中的报错信息")
    private String errorMsg;


}
